package com.xuerhua.yxt;

import java.util.Map;

import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.fastjson.JSONObject;
import com.xuerhua.yxt.service.IStudentFruitsService;

public class FruitsService extends BaseTest {
	
	@Autowired
	private IStudentFruitsService studentFruitsService;

	@Test
	public void fruits(Integer schoolId) {
		try {
			Map<String, Object> list = studentFruitsService.getParamMap(schoolId);
			System.out.println(JSONObject.toJSONString(list));
		} catch (Exception e) {
			e.printStackTrace();
		}
		
	}
}
